package cn.straosp.workrecord.bean

import cn.straosp.workrecord.util.Constant

data class ErrorMessage(val code: Int,val message: String)

val AccountSelectFailed = ErrorMessage(Constant.ACCOUNT_SELECT_FAILED_CODE,Constant.ACCOUNT_SELECT_FAILED_MESSAGE)
val PhoneAlreadyRegistered = ErrorMessage(Constant.REGISTER_PHONE_USED_CODE,Constant.REGISTER_PHONE_USED_MESSAGE)